sane doc structure