creating very simple cache