verbose levels implemented, small refactoring