changing type casting back because it only works with 0 through 9