Added visible attribute to control