assign multi-called function to variable