Experiments done while writing generics chapter code