edit analysis part