UPDATE: implemented classes EotMode and EotStack and adjusted eot and EotCycle accordingly