add Beam Search