First I peeled and cut up the onions then put them in a skillet to caramelize them. I cooked them until they were a dark brown color. While they were cooking I peeled and cut the sweet potatoes into cubes. I put them into a bowl and combined onions, garlic, rosemary leaves, olive oil, salt, and peeper in with them. I then spread out the potatoes on the baking sheet and let them bake in the oven at 425 for 45 minutes. After they are done baking put them into a cake pan and break open some eggs over the top of them. Then put them back into the oven for 10min for the eggs to cook. This recipe was not very good to me at least. The rosemary and garlic mix was just too strong for me and over powered the potatoes. My stepmom on the other hand said that they tasted very good, but to not put eggs in with them because they get to a rubbery consistency that doesn't taste good. I got this recipe from thekitchn.com and it is one that I would make again for my family, but not for me.