"ad hoc" spelling corrected