added dynamic var names to caching in RProg-A2