Changing function name and new objective function