initial code setup with demo