Added canAddItem() check