added to finalize