test #3-compare codes