optimized: no synchronized map