adding calculation variable