completed optimization