has logging
more debugging done.