added documentation to Output Functions