calculating
average
speed