got loading/saving cache working