How should I implement this part of the logic?
How should I implement this part of the logic?