trajectory plot added