create step function - without args
clean up formatting