add compare utility