map finally works (although something goofy is happening)