added key deletion