computeNeeded is not defined