Add trinary exercise