validate, convert_digit method added, files renamed