before adding items