add_key_holder works other than messed up record separator from the library
mostly working