How the mapping works