adding toggle