updated for addItemPage