getting a form to work