redid the if statement in show_form