took unnecessary debugging elements out of the form and code