adding all_posts iterator