drawing lines working