tweaked explore.cpp to do timing properly