remove print statement, make tests pass by making the form conditional