Cut the onion head finely and saute it in a pan until it changes color.
Successively, add the tomato paste, minced meat and some of the tomatoes. Stir until the water evaporates a bit. Then sprinkle in the paprika and black pepper. Stir the whole mixture well and pour in some hot water until it becomes like a broth.
In a baking dish, put the butter and the rest of the tomatoes on the bottom, then alternate between 1 layer of potatoes, 1 layer of the mixture. If all of the broth has evaporated, add a little warm water and put the dish to bake at 374°F (190 °C).
Once it catches a crust, pour on the topping. Make the topping from the fresh butter, flour, milk and eggs. If you do not have milk, you can put yoghurt in. When placing the topping you can sprinkle it with a little cheese.
Finally, put the dish back in for 10 minutes to brown the topping.