Yeah, the cache class was a little bit complex before so I decided to just cut off the rest and leave it instead of transforming it to another function.