error as function of J