initial attempt of static cache, doesnt work because it's slower