Heat a pan with oil, add the mustard and once it splutters, add the remaining ingredients listed under "To temper" in the given order. Once the broken urad dal starts to become golden brown, add the curry leaves, onion and saute until the onion turns translucent.