Wrote the initial tutorial probably all messed up somewhere