creating Trip class