finished following functions:
rename keys, delete keys