Implement the toggling