added destroy depedency