added tripModel.java and made it work