adding some comments and RS check in the model.