texas algorithm.