created trip controller methods