Added cache creation