Compare using interface