added functionality to adding trips to events