Added method for computing body.  Factored with prologue code.