Anyone have a foolproof Potatoes au Gratin recipe?

This one works every time. The trick is always to cut the potatoes thin. I use a mandolin.

https://cooking.nytimes.com/recipes/1013511-potato-leek-gratin