implemented single step execution