the FOIL method