sleeping when searching pat