beginning doGenerateStart