making types consistent with original map