generics parsing seems to be working