added trajectory example