finish the key space operations apis....