Clarification on demo source code