copy and paste to support int keys
readme for int cache