refactor main lang file