deleted volatile as it has no effect outside of a function