Minor modification on trajectory