addded trigegr and dataset testing