added generics example to combined demo