modified file that returns language model