added timer to step counter and removed rtc garbage