add items incrementally
remove debugging output