beautifying doc