destroy all method is implemented