add check if route or vehicle is null and throw exception