hopefully fixes code in blog post