start writing advance markup merge