change string of number to integer for addition