updated create_form function
j