Getting the form to work