an obvious optimization to add_items that took me a long time to think of
style