finalized before the demo