Updated article with syntax highlighted code