working build out of first two chapters