Initializing traj