modify method like a toggle and rename