working on enum generation - almost done