Minor changes, add radix to parseInt