Revised functions to output.