adding some more debug output to the edx controller