more basic generator work