Changed logic for statistics and added vehicleAvailablility.