added some debug ...
not sure what was changed here ...