forgot volatile qualifier