analysis code edit