made key externalizable