Working version with Example.