Initial (broken) cache implementation