encoding map