average speed from xml