UPDATE: implemented print() method for EotMode and EotStack