testing code before moving on to next step