set method key on toggling methods