generator progress

hit problems with function parameters and local variables