adding search by name pattern criteria