destroy method is working