Don't rely on endf[unction]