change hot alogrithm