add slider for different c_values