finally added deletion code'