bar variables must be extern