Add proper code from the blog application