doc & output types