adding toggle function