changed to toggle button