added cache for symmetric groups