[sam] That major feature I was assigned.

Hey, I wanted to add some toggling behavior
This is good. I like that there is a function here.