Removed unnecessary function from /api/driving