added generics example