add dynamic mason controller.