implemented destory action