weakly typed example works