Added note about code being from mhartl's tutorial.