noted code for digits