add ordered Triple for storing three objects of same type