added call to destroy