Add in the chopped garlic and green chillies. Saute for a minute.
Add in the chopped onions and vegetables. Saute for a couple of minutes.
Beat the egg. Move the vegetables to the side. Tilt the wok and pour in the egg but not over vegetables. Cook the egg until semi-cooked. Mix it up with the vegetables gently so that it remains chunky.
Add in the rice over the vegetables but do not mix it yet.