define symbol_map just once