doing comparison