switch order of lines