working 'fetch' subgenerator