add int support in cache