Simplifying sum of var list