Added draw poly lines function