Layer sliced potatoes, cheese, onions, bacon, salt and pepper and dots of butter. Pour milk into pan until it comes to within 1 inch from top of pan.
Bake for 1 hour or until potatoes are tender and milk has cooked down.