working on finalization