added Trinity functionality