Refactoring lambda and working on the blog post