use std::map in addr_map