add controller to myPanel