revised to work with blog_posts repo