some editing on chapter3 formula