added in ch5 example changes
bak and ~