add support for checking the values of other fields
make comparison example more explicit