added key methods to mongo