extract TODO feature to generator fragment