created trip item create function