added cache size setting