final version for EOI