missed a line of logic