use EpicsFunction, remove cruft