added compare method