Added preliminary output code. Very minor