added std sum