minor argument name change for class function