add optional search on results