add two commands: stats, keys