comparing console log statement