trying to log menu selections, but does not work