Creating comparison extension