Brown onions, celery, and garlic in butter until onions become transparent.
Add pork, seasonings, and tomato juice. Cover and simmer for 10 minutes.
Pour into greased pan, cover with mashed potatoes and baste with the beaten egg.
Bake in the oven for 25 to 30 minutes at 350 degrees until potatoes are golden brown.