drawing lines works