modifing demo file demo-common