add comparison operator