first steps for drawing lines