Adding ids to frequent trajectories and some commenting.