use average speed