more mapping logic.