A new approach to modelling viscoelastic flow