better example of compare