refactored post and post_items