added cache effects.c