Updated Generics example