reversed comparison logic