simplified comparator
updated readme