removing generics