mapv based on @sw1nn's comment