removed 'null' in front of some terms and last \newline.