Make recreate_columns function public