On a model of viscoelasticity with internal state variables