assorted menu code