add to f and to i