modified demo file