add until eof