s02-us38: start of the function for creating the mapping table