working on getting search to work