updated to verify/show inheritance, self-looping and some additional
aspect to generics