modes and documentation