$sum and $val also supports bind.