converted all nsnum stuff to ints