add compare method