Starting the casserole out covered keeps it from drying out. Then, taking off the foil for the last fifteen minutes lets the cheese topping get nice and browned.