remove explicit second argument to work with constant trajs