Updated output functions.