450g/1lb onions, peeled and sliced
salt and pepper
450g/1lb corned beef, cubed
2 tbsp tomato ketchup
2 tbsp vegetable oil
beaten egg for glazing
900g/2lb shortcrust pastry