improved demo file