copy pasted add item code