Added check to make sure language was available in