changed button curtain func nam