Changed GenerateMenu method from public->private