make search type a new option, defaults to strings