since this method returns on the first message it finds what is the value of this logic?