added caching of default styles