Implement <digits> working