FUNCTIONS ASSOCIATED WITH TRAJECTORY