prototype search state with lm added