document code  a little