Added slightly more complicated solver.