Added some explanations to body code