Compensating for velocity