finished tutorial outside of testing code