reverted to reading from global