fix fndi to take extra args