Simple way of comparing field values