more work with logging