for measuring angular speed