This can throw a number format exception. Ideally our client shouldnt be passing bad input. But may want to include a catch here just in case. This is a minor though.