adding toggle buttons