Pre heat oven to 375 F. Cook pasta as instructed on the package
Meanwhile dice and slice vegetables.
Heat oil in a skillet and saute onions until slightly soft.
Add the rest of the veggie, except for the peas and carrots (if using frozen, add those too) Saute until slightly soft then add carrots and peas and saute for 2 minutes.
Add garlic and cook for 1 minute or until garlic is fragrant.
Add tomato sauce salt, pepper basil, thyme and mix well. Remove skillet from oven.
In a non stick skillet, cook smoked ham until slightly brown.
When pasta is cooked, drain well and place in the skillet or a large bowl (I used the skillet).
Pour the tomato vegetable sauce over then add ham and mix well.
Fold sour cream in using a bamboo spatula.
Add 2 cups cheese and mix well.
Place all in a baking dish and sprinkle the remaining cheese over.
Bake for about 20 minutes or until the cheese is melted.