you only need to pass the map in