using blog_before example as a start point