missed a refactor