extending cache format and repl