control validation homework