merge code, stage 1, all except source codes