change sum() to vsum() in the documentation