Var doc: added sum attr