Edited blog post code