correct parameters for generics