renamed 'sample' to 'demo'