Boil the potatoes with skin, then peel and dice. While the potatoes are boiling, bring the sour cream with the cream cheese and some milk to the boil in a saucepan. If the sauce is not runny enough, add a little more milk.
Then add the finely diced garlic and season with salt, pepper, marjoram, paprika powder and a little chili powder. If you want, you can round off the sauce with a small sip of cognac.
Preheat the oven to 180 ° C (convection). Dice the bell pepper and halve the onion and cut into strips. Then mix both together with the ham cubes under the potato cubes and distribute in a greased casserole dish. Other vegetables such as corn, zucchini, leek, etc. also go well with it.
Then cover with the sauce and bake at 180 ° C for about 60 minutes. About 10 minutes before the end of the cooking time, sprinkle the grated cheese on top and bake until golden brown.