moved controls to child template