Completed a simple EA, although need to bugfix