edit adding items. Fixes #1