refactored add_items data