changed vessel id to vid to avoid bad counting