Added a couple newlines
Added debug logging