Trajectory class is working!