added encodingMap