added writeBlog