implemented trip adding feature