reworked code for blog post