updated to use new vehicle api