more debugging done.
more debugging done