finished meat of tutorial