swap the line of code