Change variable names to actual ones in join/part
It might help if the names of the variables are the actual names of the
 variables, named the variables correctly to make the code work.