Refactor, changed - isNumber: method