moving disable enable controls to a method