Changed variabla "C" to "columnNum"