In a nonstick pan heat up some olive oil. Fry the onions. Add the grated potatoes and spices and cook for 7 minutes or until soft. Add the tomato and tomato paste and cook another 4 minutes. Crack the eggs on top.