destory method