got debugging into working order