added to form

added more code to the form