chapter setup