Adding isAbnormal to check the length of numbers