added checks for new languages