created the base for the search object