added an example in scratch