added draw wire functionality