Meanwhile, prepare the onion-carrot layer. Cut the onion into half rings, lightly fry in preheated oil in a frying pan. Add the carrots, grated on a coarse grater, stir, add salt, pepper, herbs and pour in water, stir, cover and simmer under the lid on low heat until soft and the liquid evaporates, not forgetting to stir occasionally, 10 minutes. For lovers, you can add hot pepper, as well as your favorite spices.