refactor Lang table