Boil the potatoes in salted water until tender, then drain well.
Mash the potatoes with butter and warm milk until smooth, then season with salt.
Heat the oil in a large skillet and brown the ground beef, then remove it from the pan.
Soften the onion and carrots in the same pan, then add garlic and tomato paste.
Return the beef to the pan, stir in the flour, then pour in the broth.
Add thyme and bay leaf, then simmer until the sauce thickens.
Stir in the peas and corn, remove the bay leaf, and season to taste.
Spread the filling in a baking dish and top with mashed potatoes, roughening the surface with a fork.
Bake at 400 degrees F for 40 minutes until golden and bubbling, then rest for 10 minutes before serving.