add factor levels option