passing only the variables that is need to be sum