Pedometer thread