Move combine to gen