adding extra lines to end of output