I know the solution but can somebody explain what happends when I don`t use volatile here? Why is it important to use it here?