add check on f(x1), remove Risms