added search stages