demo for second chapter