Mix the potato cubes, carrot slices, onion cubes, parsley and ham cubes together, place in a greased casserole dish, season with salt (carefully or not at all, as ham can be too salty) and pepper, pour over cream and put in the preheated oven at 175 degrees on the middle rack Bake for about 45 minutes. Now sprinkle the cheese on top and bake for another 30 minutes.