1Bring a large pot of salted water to the boil and cook the spaghetti for 9 to 10 minutes until al dente. Before draining, scoop out a cup of the cooking water.
2Meanwhile, heat the olive oil over medium heat and fry the thinly sliced garlic for 1 to 2 minutes until pale golden, not brown.
3Add the crushed tomatoes and simmer for 8 minutes until the sauce thickens slightly.
4Drain and rinse the beans, add them to the sauce and cook for 3 minutes, mashing a few against the side of the pan.
5Add the drained spaghetti and a splash of the cooking water. Toss for 1 minute until the sauce coats the pasta, then serve topped with chopped herbs.