Add a clarifying comment
Clean up import and logging