initial functional code with lru_stl policy