changed language parameter names
added an example