matched analysis code