Changes: Collapsed if statements
Changed: call message only 1 time