added some cache stuff
added some cache stuff