made search pretty, and prevented repeat adds