added a step counter