Opacity and search functions