Objective func modified