main task completed
optimization