rewrite object oriented, activating twice toggles