added search state diagram