read info to bean.