finished using unordered_maps for Trajectory data