removed generator require