Removed useless debug output and blank lines