Fourth modifications for optimization