cleaned up the form