added code to show menu