mapin works only with count of 1; avoid redundant conversions