exceptions for giving not a number as a number