add class file for valid number problem