First step is to boil the pasta few minutes less than al dente. Then when placing the casserole for baking, you have to cover the casserole with aluminum foil or another over safe cover. This will keep the steam inside the casserole and prevent the pasta from drying out. Only remove the cover the last 10 minutes after covering everything with cheese.