operate on the pendigits data