more logging in example