finalize extends