can pass in spec in generator
v0.2.3