added sum()