In a large skillet melt butter and heat bread slices with ham piled on one slice.
In a small nonstick pan fry egg with unsalted butter.
Add egg on top of the slice of bread with ham. Sprinkle shredded cheese to your liking.
Top with second slice of bread and heat until cheese melts.