Mix sugar and 2 eggs with a fork
Add cottage cheese (tvorog)
Add farina or flour
Add vanilla extract
Spread the mixture in the baking pan
Get an egg yolk
Brush the top with an egg yolk. Cover all. And bake for 50 minutes at 180C (350F).
Cool completely and refrigerate for a couple of hours, serve with cream or jam.