Preheat oven to 350 Degrees
Cook pasta according to package directions
While pasta is cooking, brown ground beef. After ground beef is cooked, add spaghetti sauce and pepperoni (if using). Heat through.
Mix together cottage (or ricotta) cheese and Mozzarella in a bowl, then add in the ground beef mixture. Add cooked pasta into spaghetti mixture.
Spoon ingredients into a greased casserole dish
Top with additional mozzarella and sprinkle with parmesan cheese
Cover with foil and bake for 20 - 25 minutes
Remove Foil and bake and additional 5 minutes