updated samples showing working (and not working) generics support