renamed function in Button API