finalized pbdb_map