added cache api