duplicate class