Map utils functions