revise search main class