added some very basic menu behaviour