generic value type in zy objects