adding map_n and company