toggle works and search