modified constructors for traj generators