faster examples, fix logger