currFrame now a Frame pointer, passing by value before, now by reference