Variable expressions as inputs of functions