Added insertion of data to insertKey