searches working and saving correctly