added mask-mode documentation.