add minday module, tested two-stages search