A nonworking solution for problem3