added builder method to search classes