Swapped order of line creation