now actually adds line to output