got the toggle button thing to work