uses s/maxtime/maxTime in makeMHFactory