Butter a full hotel pan.
Layer ½ sliced potatoes in bottom.
Spread caramelized onions on top.
Spread rest of potatoes.
In a bowl, mix cream, parmesan, salt and pepper.
Pour over potato/onions.
Cover with foil and bake for 45 minutes at 350° .
Uncover and bake at 400° for 25 minutes.