The function was even more wrong.