making modifications to the key