Conversting to immediate functions