Fixde a minor error and added an example