joint example works just fine