Qual: Add method addline
Prepare code to uniformize method addline.