adding in debugging code to get new test case working