fixed generics in the examples