added drawing lines