moved scores attribute to model side