Wash the potatoes well and boil them unpeeled. Then peel them and add butter, eggs, salt and a little pepper to taste. Smash well and make puree. To make the mixture thicker, add the flour so knead a firm dough.

Add more flour if the dough sticks to your hands.

Then add a little oil to the heated pan, and then spread half the dough into the bottom of the pan

Over the dough put ham and cheese, and place the rest of the dough over them.

Let it be baked in the oven for three to four minutes on one side, then turn on the other side. You need to get a golden crust.