setting up the form