How Custom Mapping works