the final version of MSearch