change format of here document