working merging with first line removed