add enum:find method
rename compare function