adjusted destroy method