1kg/2lb 4oz medium-sized Maris Piper or Desirée potatoes, peeled and thinly sliced using a mandolin or sharp knife
4 garlic cloves, thinly sliced
2 onions, thinly sliced
1 tbsp finely chopped fresh thyme leaves
salt and freshly ground black pepper
2 tbsp olive oil
400ml/14fl oz vegetable stock
80g/2¾oz butter
75g/2¾oz gruyère, grated