How to deal with comparison