closes #10 caching does not work