Better comments, logging set to debug