2 cases gave wrong answer