fixed a bug and finished most of the docs for body