add verbose logging mode; close #4