made trip object and implemented it in tripActivity