Created getter and setter for trip a miles and dataobject