changed to toggle class