tutorial fix #172 plus a little further explanation