completed last optimization