adds codes back that is missing from the merging.j