Added missing shared variable