Updated according to the code. Added some text.