make xenode_basename a class level variable