attemp optimize