refactored terminate() to destroy()