Added function to add trip