add trips functionality