add finalize! method