adding step counter