Added a destroy function
1.1.1