adding greaterthan lessthan comparisons