function to get wait time from car