finalized the final map