added the deleteValue to main