deleteRecord implemented, needs to be tested