changed default objective function to accuracy