getting the draw lines to iterate