Preheat oven to 350degree F
Cook Pasta Shells in a large of salted water according to package instructions: drain; Rinse under cold water
Meanwhile brown beef and onion in a large skillet over medium high heat Drain off fat ; let cool slightly before adding to the filling
Combine 1 1/2 cups of the shredded Italian blend cheese, allof the ricotta, all of the parmesan, the egg, the pesto and half of the beefand onion mixture, in a large bowl set aside.
Spread 3/4 cup of the marinara sauce in the bottom of a13 x 9-inch baking dish. In a bowl, stir together the remaining marinara sauceand the remaining half of he beef and onion mixture. Set aside.
Fill the cooked, cooled pasta shells with the ricotta mixture. Arrange the shells in the baking dish.
Top the shells with the marinara sauce mixture. Sprinkle the remaining 1/2 cup of italian cheese blend over top
Cover the dish with foil. Bake for 30 min. Remove the cover and bake for 10 more minutes. Garnish with fresh parsley or basil, if desired. Serve!