making some progress on the sparsity constraint.