changed variants create func