Made debugging output optional
Forget something