added functionality average speed, current speed