oops, missed a variable declaration