change format of output code. not really necessary but might as well.