Chapter-7 initial setup from chapter-6.