Deleted a comment about prevModel=oModel not working. It does now.