extending the tutorial