finalized setup