wip - added generator and callbacks
consolidated nand into generic fetch op