adding cache effects