adding destroy method