cleaned up the Chpater 4 code and added _site.