replace first two lines