Pedometer working