added cache limit.