Added volatile keyword.