Attempting to debug cursor use - not currently updating anything