modified demo benchmark