addded the destroy command