removed type attribute and implemented defaulting to random hex names