#103 make toCheckName1 function