added all the necessary form elements