work on compute_variability