set up search for creating save functionality