change compare algo
change draw