added magic method destruction