generator for embeddedid