1. add a beam model. 2. fixed one bug of data-model reseting.