Change method name finalize()-->destroy()