trying to make cache work