fix the comparator
set the labels correctly to scan or not
binary stuff