Baked cod with beans and chorizo

INGREDIENTS(serves 4 people)

2 tbsp olive oil
1 onion, finely chopped
25g chorizo, chopped
2 garlic cloves, minced
1 tin of chopped tomatoes
410g tin cannellini beans, drained
Salt and pepper 
1 small pinch of thyme and 1 bay leaf
4 skinless chunky fillets of cod
1 bunch of basil

METHOD

Heat the oil in a large frying pan, then soften the onion for 5 mins. Add the chorizo and garlic
Fry on a low heat for 2 mins more until the chorizo starts to crisp up. 
Add the thyme, bay leaf and half the basil chopped
Tip in the chop tomatoes and simmer for 15 minutes
Add the beans then season
Simmer for 10 mins.
Add the fish to the pan, leaving the tops of the fillets peeking out of the sauce.
Cover with a lid and leave to cook for 3-5 mins or until the flesh becomes opaque and flakes easily. 
Decorate with chopped basil
Serve with crusty bread