ugh, also missed a double variable declaration