renamed fmap to vmap