add languange model implementation