added a toggle button. does not do what I want it to do yet