Changing the if else in submission for clarity.