entity and class to search location