1 medium onion, thinly sliced
800g/1lb 12oz potatoes, cut into roughly 15mm/鈪漣n chunks
2 x 400g tins baked beans
freshly ground black pepper
3 tbsp vegetable oil
4 medium eggs
3鈥4 rashers smoked bacon, thinly sliced