changed to toggle buttons