commen generators moved to gen.go