removed generator reference