Added language detector