simple mining tools for minmin's paper