vehicle positions function