handle set vs. map with set as second arg