Better debugging code, and fix the log (want to import the alias)