fixed bug - now caching patterns again