compare by value input