added guard group to return of createVehicle