modifications of barrett_model from the JHU lcsr group