tidied three eol_* functions, closes #127 :smirk: