set up partial for maps