moved controls to its own file