add methods for retrieving posts in batches