Completed the destroy method