add item calculation