set multiple generics