Added compare validator