Moved triplet list into method