arrange code line
make deleteRecord function