Added a training snippet.