script used to figure out step timing