duplicate class definition