A bit more commentary and better error checking
Breaking the guide up by example.