Thinly slice the potato, sweet potato and onion.
Place the potato, sweet potato and onion in an oven proof dish
Add the bacon, corn and crushed garlic and mix a little to evenly disperse the ingredients.
Add the cream and stir to coat everything evenly.
Cover with as little or as much grated cheese as you like.
Place in a medium temp oven until potato is cooked and cheese is golden brown on top.
Serve hot and enjoy!