remove comments, add eod