generating each_posts