Heat kadhai and put oil, crackle mustard seeds, curry leaves and green chilies, stir it and put chopped onion, stir it for two minutes, add chopped tomatoes, turmeric and red chilli powder and salt then add potatoes cubes, stir it for a while, cover it with lid and cook it on low flame.