matching the code to reflect the blog article