cleaned up eos.cc