stepping loop implemented, just copying for now