stub solution to the tutorial