Got search basically working.