Not quite sure what this is doing? Some sort of hashing of the number with corrisponds to the a digit in the eight position? Could you add a comment and then inline and remove the `pos` variable.