changed parameterized class to define