Upgraded example