and another try and making caching work