optimization running currently, producing plots