adding cache helper