code understood merging and then working on while