moving debug statements