Added option -eos