improved destroy method. added example