digits is private constant