substituting varaible numbers for names