add preferedLanguage method
code review