added abiltiy to draw lines