added truth optimize