Add the following ingredients to the shredded potatoes: 2 eggs, 1 cup of diced cooked ham, 1/2 cup of shredded cheese, 1/4 cup of finely chopped onion, 2 tablespoons of chopped fresh parsley, 1/4 teaspoon of black pepper, 1/2 teaspoon of salt (adjust to taste), and 1/4 cup of all-purpose flour.