Pour the mixture into heavy saucepan set on medium heat. Keep stirring so it doesnt curdle and scorch on the bottom. Stir until the mixture thickens and comes to a boil, turn off the heat. Then stir in the butter, mixing until the butter is completely blended in and the pastry cream becomes smooth. Cool and spread the mixture on the layered cake.