changed steps so that successful submission can only be from last step