Error with repeating triplets fixed.