In a pan add oil, when hot add cinnamon, fennel seeds, curry leaves, chopped garlic and green chilli.
When everything get roasted add onion, salt, turmeric powder when the onion turns pink, crack the eggs and pour in it.
After the eggs get cooked add pepper powder and the cooked rice in it and mix well.
Simple egg rice with leftover cooked rice.