add code comparison