added method to node to set map.