added basic search and search rec