Bring water to boil, reduce heat to low, and over a double boiler while whisking constantly, heat up the mixture of egg yolks and granulated sugar. It will take about 10-15 minutes until the yolk mixture thickens up. Put it aside and let it cool to room temperature or quickly cool off in a cold water bath. Stir occasionally to prevent crust forming.