finalized everything