add higher or lower detection
update hugher and lower