used map for common case