debug code for failing unit test