add line and col in row