Point 5
added breakpoint to appendDigit