bind add function to reuse in addItem