Implemented the interaction, but gives wrong answer.