define global menu variable