some refactoring on subtriadics