readded numpy version of map