added a ~relatively~ complete implementation (my take) on the EEA