added checkNames