early version of step 5