calc functions with several variables 2467