adding the code contecnt for mm simpsons and Jacobi