buttons now have toggle functionality