Add tripplet class