updated main to use addMultipleItems