additonal debug code

added debug code